﻿using Knlght.Domain;

namespace Knlght.ObjectFactory.Core
{
    /// <summary>
    /// 设置Api接口
    /// </summary>
    public interface ISettingApi
    {
        /// <summary>
        /// 获取指定的设置
        /// </summary>
        T GetSertting<T>() where T : SettingBase, new();
        /// <summary>
        /// 保存设置
        /// </summary>
        bool SaveSetting(SettingBase setting);
    }
}
